package com.nameless.feign;

import com.nameless.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author keluoyisi
 * @program: car-parent
 * @description: 订单接口
 * @date 2023-03-10 14:43:21
 */
@FeignClient(value = "car-lease-statistics")
public interface OrderFeign {
    @PostMapping("/car/api/order/updateOrder/{orderNo}/{totalPrice}")
    Result updateOrder(@PathVariable String orderNo,@PathVariable double totalPrice);
}
